package com.zzw.basic.io;

import java.io.*;

/**
 * @author zzw
 * @see
 * @since 2018/3/26
 */
public class CharToType {

    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));
        String line = null;
        while ((line = br.readLine()) != null){
            if("over".equals(line)){
                break;
            }
            bw.write(line);
            bw.flush();
            System.out.println("line:" + line);
        }
    }
}
